import { GET, POST } from "./api";

// 登录
export const loginApi =  (param)=> {
    return GET("/user/login", param)
}

// 按时间维度获取用电数据
export const powerTradingData =  (param)=> {
    // ?projectIds=1&recordDate=2025-08-19
    return POST("/powerTradingData", param)
}
